---
---

<script>
  // get all pre elements
  let blocks = document.querySelectorAll('pre');

  blocks.forEach((block) => {
    // add a copy-code-button to each pre element
    let button = document.createElement('copy-code-button');
    block.appendChild(button);
  });
</script>
